
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="http://getbootstrap.com/assets/ico/favicon.ico">

    <title>Misión | Sistema de Gestión Odontológica</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template 
    <link href="jumbotron.css" rel="stylesheet">-->

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="navbar navbar-default" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="index.htm">Kuradent</a>
        </div>	
		
		<ul class="nav navbar-nav">
			<li ><a href="index.htm"><span class="glyphicon glyphicon-home"></span> Inicio</a></li>
			<li ><a href="acerca.htm"><span class="glyphicon glyphicon-info-sign"></span> Acerca de</a></li>
			<li class="active"><a href="mision.htm"><span class="glyphicon glyphicon-screenshot"></span> Misión</a></li>
		</ul>	
		

        <div class="navbar-collapse collapse">
          <form name="login" class="navbar-form navbar-right" role="form">
            <div class="form-group">
              <input type="text" name="fuser" placeholder="Usuario" class="form-control">
            </div>
            <div class="form-group">
              <input type="password" name="fpass" placeholder="Contraseña" class="form-control">
            </div>
            <button type="button" class="btn btn-primary" onclick="logeo()">Entrar</button>
          </form>
        </div><!--/.navbar-collapse -->
      </div>
    </div>

    <!-- Main jumbotron for a primary marketing message or call to action -->
    <div class="container" >
    <div class="page-header">
      <ul class="breadcrumb">
        <li><a href="index.htm">Página principal</a></li>
        <li class="active">Misión</li>
      </ul>
      
        <h1>Misión</h1>
      </div>
    </div>

    <div class="container">
      <!-- Example row of columns -->
      <div class="row">
        <div class="col-md-10">

          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
        </div>

      </div>

      <hr>

      <footer>
        <p>&copy; Kuradent 2014</p>
      </footer>
    </div> <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
        <script>
    function logeo() {
      var x = document.forms["login"]["fuser"].value;
      var y = document.forms["login"]["fpass"].value;
      
      if (x==null || x=="") {
        alert("First name must be filled out");
        //window.location.replace("#");
      } else if (x=="julio" && y=="almacen") {
        window.location.href = "almacen.htm";
      } else if (x=="jose" && y=="paciente") 
        window.location.href = "atencion_paciente.htm";
      else{
        alert("usuario no registrado");
        //return false;
      } 
    }
    </script>
  </body>
</html>
